<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>赋值运算符</title>
</head>
<body>
<script type="text/javascript">
    //一、赋值运算符
    //  赋值运算符：= += -= *= /= %=
    var a = 10;
    a += 10;    //a = a + 10;
    console.log(a); //20
    a =- 10;
    console.log(a); //-10
    console.log(a *= 10); //-100
</script>
</body>
</html>